<template>
  <div id="collect">
    <img :src="mineImg" />
    <router-link :to="path">{{ title }}</router-link>
  </div>
</template>

<script>
import mineImg from '@/assets/images/mine.svg';
export default {
  props: {
    path: {
      type: String,
      default: '',
    },
    title: {
      type: String,
      default: '',
    },
  },
  data() {
    return {
      mineImg,
    };
  },
};
</script>

<style lang="scss" scoped>
#collect {
  padding: 0 25px;
  margin-bottom: 15px;
}
</style>
